package com.main.tripplanner.persistent;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="dosage")
public class Dosage extends PersistentEntity{
	private int id;
	private float familyPercentage;
	private float nightLifePercentage;
	private float trekkingPercentage;
	private float extremePercentage;
	private float culturePercentage;
	
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name="dosage_id")
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	
	@Column(name="family_percent")
	public float getFamilyPercentage() {
		return familyPercentage;
	}
	public void setFamilyPercentage(float familyPercentage) {
		this.familyPercentage = familyPercentage;
	}
	
	@Column(name="night_life_percent")
	public float getNightLifePercentage() {
		return nightLifePercentage;
	}
	public void setNightLifePercentage(float nightLifePercentage) {
		this.nightLifePercentage = nightLifePercentage;
	}
	
	@Column(name="trekking_percent")
	public float getTrekkingPercentage() {
		return trekkingPercentage;
	}
	public void setTrekkingPercentage(float trekkingPercentage) {
		this.trekkingPercentage = trekkingPercentage;
	}
	
	@Column(name="extreme_percent")
	public float getExtremePercentage() {
		return extremePercentage;
	}
	public void setExtremePercentage(float extremePercentage) {
		this.extremePercentage = extremePercentage;
	}
	
	@Column(name="culture_percent")
	public float getCulturePercentage() {
		return culturePercentage;
	}
	public void setCulturePercentage(float culturePercentage) {
		this.culturePercentage = culturePercentage;
	}
	
	
}
